package home.fragment;


public class Goods {
    private int goodsId;
    private String goodsName;
    private String goodsIntro;
    private String goodsCoverImg;
    private double sellingPrice;
    private String tag;

    public Goods(int goodsId, String goodsName, String goodsIntro,
                 String goodsCoverImg, double sellingPrice, String tag) {
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.goodsIntro = goodsIntro;
        this.goodsCoverImg = goodsCoverImg;
        this.sellingPrice = sellingPrice;
        this.tag = tag;
    }

    // Getter方法（封装数据）
    public int getGoodsId() { return goodsId; }
    public String getGoodsName() { return goodsName; }
    //public String getGoodsIntro() { return goodsIntro; }
    public String getGoodsCoverImg() { return goodsCoverImg; }
    public double getSellingPrice() { return sellingPrice; }
    public String getTag() { return tag; }
}
